home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0311 / swriter.jar / text / swriter / guide / calculate_intext2.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  7.2 KB  |  91 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Performing Calculations With Tables in Text Documents</title><meta name="filename" content="text/swriter/guide/calculate_intext2"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:1.499cm;}
  8.         span.Tabelle1B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle11{
  11.                 }
  12.         td.Tabelle1A1{
  13.                 }
  14.         table.Tabelle2{
  15.                 }
  16.         span.Tabelle2A{
  17.                 width:1.499cm;}
  18.         span.Tabelle2B{
  19.                 width:16.498cm;}
  20.         tr.Tabelle21{
  21.                 }
  22.         td.Tabelle2A1{
  23.                 }
  24.         p.P1{
  25.                 }
  26.         p.P2{
  27.                 }
  28.         span.T1{
  29.                 font-weight:bold;}
  30.         span.fr1{
  31.                 }
  32.         </style></head><body>
  33.    
  34.    
  35.    <p class="P1"/>
  36.    <p class="Head1"><help:key-word value="performing calculations; in text documents" tag="kw68124_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="text; performing calculations in" tag="kw68124_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="calculate_intext2" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68124">Performing Calculations With Tables in Text Documents</help:link></help:to-be-embedded></p>
  37.    <p class="Paragraph">You can carry out calculations in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Writer tables. With calculations that go beyond the current table, the table name serves as a clear table identifier.</p>
  38.    <p class="Paragraph">To multiply the first cell of Table1 by the first cell of Table2 and return the result in cell A2 in the current table, position the cursor in cell A2 in the current table, press</p>
  39.    <p class="PropText">=<Table1.A1> * <Table2.A1></p>
  40.    <p class="PropText"/>
  41.    <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  42.        <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="66732" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  43.       </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  44.        <p class="Paragraph">With the help of the <help:link Id="67645" xmlns:help="http://openoffice.org/2000/help">Navigation Bar</help:link> you can navigate quickly and easily between the table formulas in your document.</p>
  45.       </span></th></tr></table>
  46.    <p class="Paragraph"/>
  47.    <table><tr class="Tabelle21"><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  48.        <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_2" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="1" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  49.       </span></th><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2B">
  50.        <p class="Paragraph">If a table formula refers to an invalid table cell, a "**Faulty expression**" is displayed in the cell. Invalid table cells are either deleted cells or those which are themselves faulty.</p>
  51.       </span></th></tr></table>
  52.    <p class="Paragraph"/>
  53.    <p class="Paragraph">To add cells B1:B10 from Table1 and see the result in the single-cell Table2 (which should be somewhere in your text), do the following:</p>
  54.    <ol class="L1">
  55.     <li class="">
  56.      <p class="P2">Create the text and Table1. Write the text where you want the result to appear.</p>
  57.     </li>
  58.     <li class="">
  59.      <p class="P2">Now insert a frame (<span class="T1">Insert - Frame</span> menu command). In the <span class="T1">Frame</span> dialog select the character to be used as an anchor, and deselect the border.</p>
  60.     </li>
  61.     <li class="">
  62.      <p class="P2">You can deselect the frame by clicking outside it; when you want to enter text in the frame, click in the very center of the frame. The frame should not be selected, but the text cursor should be inside the frame.</p>
  63.     </li>
  64.     <li class="">
  65.      <p class="P2">Insert the single-cell table inside the frame (Insert - Table). Select a row and a column and click OK. The cursor is positioned in Table2.</p>
  66.     </li>
  67.     <li class="">
  68.      <p class="P2">Define the mathematical formula by entering an equal sign. You can see the Calculation Bar.</p>
  69.     </li>
  70.     <li class="">
  71.      <p class="P2">Select the cells in Table1 in which the "summand" formula is positioned; keep the button pressed as you drag the mouse from the first to the last cell you want. The formula for calculating the total of cells B1 to B10 is: =<Table1.B1:B10></p>
  72.     </li>
  73.     <li class="">
  74.      <p class="P2">Close the mathematical formula by clicking the <span class="T1">Accept</span> icon on the Calculation Bar. You will see the result of the calculation in Table2.</p>
  75.     </li>
  76.     <li class="">
  77.      <p class="P2">After making changes to the "summands", you can update the result by pressing function key (F9).</p>
  78.     </li>
  79.     <li class="">
  80.      <p class="P2">Instead of first inserting the border and then inserting a table inside the border, you can start by inserting a single-cell table, then select the whole of this cell - the only way to do this is with the shortcut keys <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">(Command)</help:case><help:default>(Ctrl)</help:default></help:switch>(A) - and then click on the <span class="T1">Insert - Frame</span> icon. The border automatically surrounds the table (incidentally, this also works with any section of text). Now you can set the anchor to character, cut the whole table to the clipboard and paste it where you want, remove the borders from the frame and table and apply further settings.</p>
  81.     </li>
  82.    </ol>
  83.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  84.    <p class="ParaList"><help:embedded Id="67995" Eid="calculate_intext" xmlns:help="http://openoffice.org/2000/help"/></p>
  85.    <p class="ParaList"><help:embedded Id="67582" Eid="releistename" xmlns:help="http://openoffice.org/2000/help"/></p>
  86.    <p class="ParaList"><help:embedded Id="67996" Eid="calculate" xmlns:help="http://openoffice.org/2000/help"/></p>
  87.    <p class="ParaList"><help:embedded Id="67997" Eid="calculate_clipboard" xmlns:help="http://openoffice.org/2000/help"/></p>
  88.    <p class="ParaList"><help:embedded Id="67998" Eid="calculate_intable" xmlns:help="http://openoffice.org/2000/help"/></p>
  89.    <p class="ParaList"><help:embedded Id="67999" Eid="calculate_multitable" xmlns:help="http://openoffice.org/2000/help"/></p>
  90.    <p class="ParaList"/>
  91.   </body></html>